<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MNNKit: MNNFaceDetection/iOS/MNNFaceDetection/Pods/Headers/Private/FMDB/FMDatabaseQueue.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MNNKit
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">MNN Kit SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ff51bd0b7841751e6292791fdaa2b577.html">MNNFaceDetection</a></li><li class="navelem"><a class="el" href="dir_afc4351b0ff58faa23b45bf1feab612f.html">iOS</a></li><li class="navelem"><a class="el" href="dir_3aa9bd88010d07c3276bd22be45efe2a.html">MNNFaceDetection</a></li><li class="navelem"><a class="el" href="dir_2455bb6014d6030fbf6ab7e5d1a85dd5.html">Pods</a></li><li class="navelem"><a class="el" href="dir_255ef40194cb393c6664f6da444df3b8.html">Headers</a></li><li class="navelem"><a class="el" href="dir_07060c8dcbad78d1d5faa65d225d974c.html">Private</a></li><li class="navelem"><a class="el" href="dir_0c4025ca5e62fe66eea3e758f39f63b5.html">FMDB</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">FMDatabaseQueue.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_headers_2_private_2_f_m_d_b_2_f_m_database_queue_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  FMDatabaseQueue.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  fmdb</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Created by August Mueller on 6/22/11.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  Copyright 2011 Flying Meat Inc. All rights reserved.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_headers_2_private_2_f_m_d_b_2_f_m_database_8h.html">FMDatabase.h</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;NS_ASSUME_NONNULL_BEGIN</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_f_m_database_queue.html">FMDatabaseQueue</a> : NSObject</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">@property</span> (atomic, retain, nullable) NSString *<a class="code" href="interface_f_m_database_queue.html#aae37f77eb95a137f5de8c26d83870281">path</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">@property</span> (atomic, readonly) <span class="keywordtype">int</span> <a class="code" href="interface_f_m_database_queue.html#a7b32dbe8c371919b8166732960be250f">openFlags</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">@property</span> (atomic, copy, nullable) NSString *<a class="code" href="interface_f_m_database_queue.html#abe34b215929e4a429adf008ad03b616e">vfsName</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;+ (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)databaseQueueWithPath:(NSString * _Nullable)aPath;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;+ (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)databaseQueueWithURL:(NSURL * _Nullable)url;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;+ (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)databaseQueueWithPath:(NSString * _Nullable)aPath flags:(<span class="keywordtype">int</span>)openFlags;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;+ (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)databaseQueueWithURL:(NSURL * _Nullable)url flags:(<span class="keywordtype">int</span>)openFlags;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;- (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)initWithPath:(NSString * _Nullable)aPath;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;- (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)initWithURL:(NSURL * _Nullable)url;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;- (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)initWithPath:(NSString * _Nullable)aPath flags:(<span class="keywordtype">int</span>)openFlags;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;- (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)initWithURL:(NSURL * _Nullable)url flags:(<span class="keywordtype">int</span>)openFlags;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;- (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)initWithPath:(NSString * _Nullable)aPath flags:(<span class="keywordtype">int</span>)openFlags vfs:(NSString * _Nullable)vfsName;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;- (nullable <a class="code" href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a>)initWithURL:(NSURL * _Nullable)url flags:(<span class="keywordtype">int</span>)openFlags vfs:(NSString * _Nullable)vfsName;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;+ (Class)<a class="code" href="interface_f_m_database_queue.html#a7a98cbb76f7ebd974a535579e048819b">databaseClass</a>;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;- (void)<a class="code" href="interface_f_m_database_queue.html#a2e48365a7e776340b379b101e50d8f6e">close</a>;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;- (void)<a class="code" href="interface_f_m_database_queue.html#a08644bfcca213284ce8dcc84a4fd1a43">interrupt</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160; </div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;- (void)inDatabase:(__attribute__((noescape)) void (^)(<a class="code" href="interface_f_m_database.html">FMDatabase</a> *db))block;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;- (void)inTransaction:(__attribute__((noescape)) void (^)(<a class="code" href="interface_f_m_database.html">FMDatabase</a> *db, BOOL *rollback))block;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160; </div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;- (void)inDeferredTransaction:(__attribute__((noescape)) void (^)(<a class="code" href="interface_f_m_database.html">FMDatabase</a> *db, BOOL *rollback))block;</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160; </div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;- (void)inExclusiveTransaction:(__attribute__((noescape)) void (^)(<a class="code" href="interface_f_m_database.html">FMDatabase</a> *db, BOOL *rollback))block;</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;- (void)inImmediateTransaction:(__attribute__((noescape)) void (^)(<a class="code" href="interface_f_m_database.html">FMDatabase</a> *db, BOOL *rollback))block;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="comment">// NOTE: you can not nest these, since calling it will pull another database out of the pool and you&#39;ll get a deadlock.</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="comment">// If you need to nest, use FMDatabase&#39;s startSavePointWithName:error: instead.</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;- (NSError * _Nullable)inSavePoint:(__attribute__((noescape)) void (^)(<a class="code" href="interface_f_m_database.html">FMDatabase</a> *db, BOOL *rollback))block;</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160; </div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160; </div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;- (BOOL)checkpoint:(FMDBCheckpointMode)checkpointMode error:(NSError * _Nullable *)error;</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;- (BOOL)checkpoint:(FMDBCheckpointMode)checkpointMode name:(NSString * _Nullable)name error:(NSError * _Nullable *)error;</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;- (BOOL)checkpoint:(FMDBCheckpointMode)checkpointMode name:(NSString * _Nullable)name logFrameCount:(<span class="keywordtype">int</span> * _Nullable)logFrameCount checkpointCount:(<span class="keywordtype">int</span> * _Nullable)checkpointCount error:(NSError * _Nullable *)error;</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160; </div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160; </div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;NS_ASSUME_NONNULL_END</div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="a_headers_2_private_2_f_m_d_b_2_f_m_database_8h_html"><div class="ttname"><a href="_headers_2_private_2_f_m_d_b_2_f_m_database_8h.html">FMDatabase.h</a></div></div>
<div class="ttc" id="ainterface_f_m_database_queue_html_a7b32dbe8c371919b8166732960be250f"><div class="ttname"><a href="interface_f_m_database_queue.html#a7b32dbe8c371919b8166732960be250f">FMDatabaseQueue::openFlags</a></div><div class="ttdeci">int openFlags</div><div class="ttdef"><b>Definition:</b> FMDatabaseQueue.h:71</div></div>
<div class="ttc" id="ainterface_f_m_database_queue_html_aae37f77eb95a137f5de8c26d83870281"><div class="ttname"><a href="interface_f_m_database_queue.html#aae37f77eb95a137f5de8c26d83870281">FMDatabaseQueue::path</a></div><div class="ttdeci">NSString * path</div><div class="ttdef"><b>Definition:</b> FMDatabaseQueue.h:67</div></div>
<div class="ttc" id="ainterface_f_m_database_queue_html_a7a98cbb76f7ebd974a535579e048819b"><div class="ttname"><a href="interface_f_m_database_queue.html#a7a98cbb76f7ebd974a535579e048819b">+[FMDatabaseQueue databaseClass]</a></div><div class="ttdeci">Class databaseClass()</div><div class="ttdef"><b>Definition:</b> FMDatabaseQueue.m:71</div></div>
<div class="ttc" id="a_f_m_d_b_2src_2fmdb_2_f_m_database_8h_html_ae935dd6f4160a888bb4481bafa125acb"><div class="ttname"><a href="_f_m_d_b_2src_2fmdb_2_f_m_database_8h.html#ae935dd6f4160a888bb4481bafa125acb">instancetype</a></div><div class="ttdeci">#define instancetype</div><div class="ttdef"><b>Definition:</b> FMDatabase.h:38</div></div>
<div class="ttc" id="ainterface_f_m_database_queue_html_a08644bfcca213284ce8dcc84a4fd1a43"><div class="ttname"><a href="interface_f_m_database_queue.html#a08644bfcca213284ce8dcc84a4fd1a43">-[FMDatabaseQueue interrupt]</a></div><div class="ttdeci">void interrupt()</div><div class="ttdef"><b>Definition:</b> FMDatabaseQueue.m:154</div></div>
<div class="ttc" id="ainterface_f_m_database_queue_html_a2e48365a7e776340b379b101e50d8f6e"><div class="ttname"><a href="interface_f_m_database_queue.html#a2e48365a7e776340b379b101e50d8f6e">-[FMDatabaseQueue close]</a></div><div class="ttdeci">void close()</div><div class="ttdef"><b>Definition:</b> FMDatabaseQueue.m:144</div></div>
<div class="ttc" id="ainterface_f_m_database_html"><div class="ttname"><a href="interface_f_m_database.html">FMDatabase</a></div><div class="ttdef"><b>Definition:</b> FMDatabase.h:80</div></div>
<div class="ttc" id="ainterface_f_m_database_queue_html_abe34b215929e4a429adf008ad03b616e"><div class="ttname"><a href="interface_f_m_database_queue.html#abe34b215929e4a429adf008ad03b616e">FMDatabaseQueue::vfsName</a></div><div class="ttdeci">NSString * vfsName</div><div class="ttdef"><b>Definition:</b> FMDatabaseQueue.h:75</div></div>
<div class="ttc" id="ainterface_f_m_database_queue_html"><div class="ttname"><a href="interface_f_m_database_queue.html">FMDatabaseQueue</a></div><div class="ttdef"><b>Definition:</b> FMDatabaseQueue.h:64</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
